//
//  NSDate+YSAdd.h
//  YSiReader
//
//  Created by MOLBASE on 2017/10/23.
//  Copyright © 2017年 YangShen. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDateFormatter (YSAdd)
+ (instancetype)sharedDateFormatter;
@end

@interface NSDate (YSAdd)

- (NSString *)ys_time;
+ (NSString *)ys_currentTime;

+ (NSDate *)ys_dateWithString:(NSString *)dateString;
+ (NSDate *)ys_dateWithString:(NSString *)dateString format:(NSString *)format;

- (NSString *)ys_getUpdateString;

@end
